package com.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author mgl
 * @version 1.0
 * @description 获奖情况实体类
 * @date 2024/4/10 14:40
 */
@TableName("award_case")
@ApiModel("AwardCaseEntity 申报获奖信息实体类")
@Data
public class AwardCaseEntity {

    @TableId
    @ApiModelProperty(value = "id 在新增操作不需要 在修改的时候必须传这个", example = "1")
    private Integer id;

    @TableField("contest_id")
    @ApiModelProperty(value = "竞赛id 对应哪个竞赛", example = "1")
    private Long contestId;

    @TableField("contest_type_id")
    @ApiModelProperty(value = "竞赛类型id 对应ABC类竞赛", example = "1")
    private Integer contestTypeId;

    @TableField("student_id")
    @ApiModelProperty(value = "学生id", example = "1")
    private Integer studentId; // 学生id

    @TableField("contest_price")
    @ApiModelProperty(value = "几等奖 123对应123等奖", example = "1")
    private Integer contestPrice; // 几等奖

    @TableField("file_path")
    @ApiModelProperty(value = "这个是一个图片路径", example = "a.jpg")
    private String filePath;

    @TableField("status")
    @ApiModelProperty(value = "审核状态 0审核中 1通过 -1未通过", example = "1")
    private Integer status;

    @TableField("suggestion")
    @ApiModelProperty(value = "审核意见", example = "图片是假的")
    private String suggestion;
}
